package com.company.card_service.service;

import com.company.card_service.model.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.card_service.util.PageHelper;
import com.company.card_service.vo.EmployeeQueryVo;
import com.company.card_service.vo.PCEmployeeVo;
import com.company.card_service.vo.Result;
import com.company.card_service.vo.UEmployeeVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 赵志浩
 * @since 2022-09-15 04:15:06
 */
public interface EmployeeService extends IService<Employee> {

    UEmployeeVo getAllDataOfEmployee(Long id);

    //通过员工id冻结员工
    public Result deleteEmployeeById(int id);

    Employee selectEmployeeById(int eid);


    void saveAll(MultipartFile files, Employee e);

    PageHelper pageEmployeeQuery(EmployeeQueryVo employeeQueryVo,Integer companyid, Integer current, Integer size);

    void saveAllFor(Employee e);

    PageHelper pageEmployeeTypeQuery(Integer current, Integer size, Integer typeId,Integer companyid);

    List<PCEmployeeVo> excellentEmployee(Integer companyId);
}
